﻿using System;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x02000346 RID: 838
	public class TRollupCube : TParseTreeNode
	{
		// Token: 0x06002247 RID: 8775 RVA: 0x00335091 File Offset: 0x00333291
		public void setOperation(int op)
		{
			this.operation = op;
		}

		// Token: 0x17000706 RID: 1798
		// (get) Token: 0x06002249 RID: 8777 RVA: 0x003350A3 File Offset: 0x003332A3
		// (set) Token: 0x06002248 RID: 8776 RVA: 0x0033509A File Offset: 0x0033329A
		public virtual int Operation
		{
			get
			{
				return this.operation;
			}
			set
			{
				this.operation = value;
			}
		}

		// Token: 0x17000707 RID: 1799
		// (get) Token: 0x0600224A RID: 8778 RVA: 0x003350AB File Offset: 0x003332AB
		// (set) Token: 0x0600224B RID: 8779 RVA: 0x003350B3 File Offset: 0x003332B3
		public virtual TExpressionList Items
		{
			get
			{
				return this.items;
			}
			set
			{
				this.items = value;
			}
		}

		// Token: 0x0600224C RID: 8780 RVA: 0x003350BC File Offset: 0x003332BC
		public override void init(object arg1)
		{
			this.items = (TExpressionList)arg1;
		}

		// Token: 0x0600224D RID: 8781 RVA: 0x003350CA File Offset: 0x003332CA
		public override void doParse(TCustomSqlStatement psql, ESqlClause plocation)
		{
			if (this.items != null)
			{
				this.items.doParse(psql, plocation);
			}
		}

		// Token: 0x0600224E RID: 8782 RVA: 0x003350E1 File Offset: 0x003332E1
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x0600224F RID: 8783 RVA: 0x003350F1 File Offset: 0x003332F1
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x04001AE0 RID: 6880
		public const int rollup = 1;

		// Token: 0x04001AE1 RID: 6881
		public const int cube = 2;

		// Token: 0x04001AE2 RID: 6882
		private int operation = 1;

		// Token: 0x04001AE3 RID: 6883
		private TExpressionList items;
	}
}
